package com.devp.annotation;

import com.devp.config.PassAutoConfiguration;
import org.springframework.context.annotation.Import;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * create by yongli on 2021-10-08 17:55
 * 练习@Import的注解的使用
 * 使用这个注解，就会加载一些bean
 */

@Target(ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME)
@Import(PassAutoConfiguration.class)
public @interface EnablePassConfiguration {
}
